<?php

// +----------------------------------------------------------------------
// | EasyAdmin
// +----------------------------------------------------------------------
// | PHP交流群: 763822524
// +----------------------------------------------------------------------
// | 开源协议  https://mit-license.org
// +----------------------------------------------------------------------
// | github开源项目：https://github.com/zhongshaofa/EasyAdmin
// +----------------------------------------------------------------------

namespace addons\{__DEMO__}\model;

use app\common\model\TimeModel;

class {__DEMO__} extends TimeModel
{
    protected $name = "{__DEMO__}";

    protected $deleteTime = "delete_time";

    public function getSexList()
    {
        return ['1' => '男', '2' => '女', '0' => '未知'];
    }

    public function getCheckboxList()
    {
        return ['1' => '选择1', '2' => '选择2', '3' => '选择3'];
    }

    public function getModeList()
    {
        return ['1' => '正常购买', '2' => '秒杀活动'];
    }

    public function getStatusList()
    {
        return ['0' => '禁用', '1' => '启用'];
    }
}
